package com.ruoyi.kzgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电柜授权用户对象 tb_kzgl_dgkzsq
 * 
 * @author ruoyi
 * @date 2023-11-11
 */
public class TbKzglDgkzsq extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ID;

    /** 授权用户 */
    @Excel(name = "授权用户")
    private String sqyh;

    /** 授权人 */
    @Excel(name = "授权人")
    private String sqr;

    /** 授权时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "授权时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sqsj;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    public void setID(Long ID) 
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setSqyh(String sqyh) 
    {
        this.sqyh = sqyh;
    }

    public String getSqyh() 
    {
        return sqyh;
    }
    public void setSqr(String sqr) 
    {
        this.sqr = sqr;
    }

    public String getSqr() 
    {
        return sqr;
    }
    public void setSqsj(Date sqsj) 
    {
        this.sqsj = sqsj;
    }

    public Date getSqsj() 
    {
        return sqsj;
    }
    public void setBz(String bz) 
    {
        this.bz = bz;
    }

    public String getBz() 
    {
        return bz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("sqyh", getSqyh())
            .append("sqr", getSqr())
            .append("sqsj", getSqsj())
            .append("bz", getBz())
            .toString();
    }
}
